package com.wisdom.disposition.controller;

import com.wisdom.disposition.model.ListConfig;
import com.wisdom.disposition.model.MapConfig;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 11951
 * Date: 2025-03-14
 * Time: 14:47
 */
@RestController
public class readYml2 {
    @Autowired
    private ListConfig listConfig;
    @RequestMapping("/list")
    public String List(){
        return listConfig.toString();
    }
    @Autowired
    private MapConfig mapConfig;
    @RequestMapping("/map")
    public String map(){
        return mapConfig.toString();
    }
}
